/*
 * @Description: 
 * @Author: fhw
 * @Date: 2023-01-29 16:32:07
 */
import { ApiProperty } from "@nestjs/swagger"
import { IsDefined, IsNotEmpty, IsString } from "class-validator"
import { PageDto } from "src/common/dto/dto"

export class  GetGroupChatRecord extends PageDto  {
    @IsDefined({ message: '群聊ID不能为空' })
    @IsNotEmpty({ message: '群聊ID不能为空' })
    @IsString({ message: '群聊ID不是String类型' })
    @ApiProperty({
        type: String,
        name: 'group_id',
        description: '群聊ID',
    })
    public readonly group_id: string
  }